#ifndef __RESOURCES_H
#define __RESOURCES_H

#include "main.h"
#include "world/items.h"

#define TILESET_COUNT 4
#define CHARACTER_COUNT 9 // nr of characters players can choose from

struct {
	BITMAP* menu; // main menu background
	BITMAP* cursor; // mouse cursor image
	BITMAP* winset; // set of window and button graphics
	BITMAP* tileset[TILESET_COUNT];
	BITMAP* objects;
	BITMAP* icons;
	BITMAP* weapon[WEAPONS_RANGE_END];
	BITMAP* player[CHARACTER_COUNT];
	BITMAP* monster;
	BITMAP* hud;
	BITMAP* strtemp; // temporary bitmap for drawing font strings
} bmp;

struct {
	FONT* sans;
	FONT* damage;
	FONT* gold;
} fnt;

extern void resources_load(void);
extern void resources_unload(void);
extern BITMAP* resources_get_weapon (int index);

#endif
